﻿using System;
using System.Windows.Forms;
using UsersSettingsTool.Core;
using UsersSettingsTool.Models.Classes;
using UsersSettingsTool.Views;

namespace UsersSettingsTool
{
    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        internal static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var mainView = new MainView();

            var xrm = new Xrm();

            new MainPresenter(mainView, xrm, new Additional_Classes.MessageService.MessageService(), new Additional_Classes.TraceService.TraceService());

            Application.Run(mainView);
        }
    }
}
